package kr.or.kead.domain;

public class Member {	
	private String code;
	private String name;
	private String tel;
	private int lend_count;
	
	public Member(String code, String name, String tel, int lend_count) {
		super();
		this.code = code;
		this.name = name;
		this.tel = tel;
		this.lend_count = lend_count;
	}
	
	public Member(String code, String name, String tel) {
		super();
		this.code = code;
		this.name = name;
		this.tel = tel;		
	}
	
	

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public int getLend_count() {
		return lend_count;
	}
	public void setLend_count(int lend_count) {
		this.lend_count = lend_count;
	}
		
	@Override
	public String toString() {
		return String.format(
				"Member [code=%s, name=%s, tel=%s, lend_count=%s]", code, name,
				tel, lend_count);
	}
		
}
